home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
020a
/
hpprint.zip
/
HPPRINT.DOC
next >
Wrap
Text File
|
1992-01-24
|
4KB
|
110 lines
(C) copyright 1992 Gregory D. Weeks
HPprint is a program that will print 256 color PC Paintbrush
(.PCX) pictures on the HP Paint Jet printer.
The Paint Jet printer has three colored inks and black ink. By
mixing inks, the printer can print in eight pure colors. The
printer has a low-res 90dpi mode that uses dithering to simulate
almost 3000 colors. The problem with the built in dither mode is
that only 16 of the 3000 colors can be printed on any 1 line.
This limitation doesn't allow very good reproduction of 256 color
pictures.
To print 256 color pictures with better results, the printer is
setup to print the eight pure colors, and the dither is performed
in the computer rather than in the printer. This dither is based
upon the Stevenson and Arce error diffusion dither. The dither
is very computationally intensive (it takes a long time).
Dithers also work better when the picture is expanded, so
expansion is supported. If the expansion is larger than will fit
on one page, the picture will be printed in strips that are one
page wide. The strips, other than the first one, are stored in a
temporary disk file. This file can get quit large and should be
placed on a fixed disk or large (huge >4Meg) ram disk.
Actually running HPprint is easy. Type:
HPPRINT FILENAME
and the picture FILENAME.PCX will be printed size as. To print
it expanded double type:
HPPRINT FILENAME /V2 /H2
Notice the horizontal and vertical expansions are separate
entries. If you don't want to print the picture, but do want to
get an idea of what it looks like type:
HPPRINT FILENAME /V2 /H2 /PV
This works on VGAs, if you have and EGA type:
HPPRINT FILENAME /V2 /H2 /PE
If you have a VGA with an 800x600 mode, you can preview in
800x600 mode by placing the mode number in decimal after the V
like:
HPPRINT FILENAME /V2 /H2 /PV41
or for EGA:
HPPRINT FILENAME /V2 /H2 /PE88
A list of graphics cards and the numbers to use follows:
Tecmar VGA/AD 22
Tseng ET-3000, ET-4000 41
Swan Super VGA 41
STB VGA Extra/EM 41
Vega VGA 41
Sigma 41
Oak VGA-16 82
ATI EGAWonder 88
Western Digital WD90C00 88
Paradise VGA 1024 88
Paradise EGA-480 88
Maxxon 91
SEFCO TVGA 91
Imtec 91
Loxix 94
ATI Prism Elite 94
Headland HT-208 Headland Video Seven 98
ZyMOS Poach 51 106 or 91
TrueTech HiRes VGA 106 or 91
Trident TVGA 8800CS 106
Everex Viewpint VGA 106
Ahead V5000 VGA Wizard/Deluxe 106 or 113
ATI 18800 ATI VGAWonder 106 or 84
Cirrus CL-GD 510, CL-GD 520 106
MaxLogic MaxVGA 106
C&T 82C452 Boca 1024VGA 106
VESA 106
Genoa 6400 Genoa SuperVGA 121
If your card isn't listed, but you have documentation on it, look
for the mode set number for the 800x600 16 color graphics mode.
Good Luck. Have Fun.
I can be reached at
Gregory D. Weeks
RR1 Box 25B
Floris, IA 52560-9801
Planned for later versions.
1. Interactive mode. Command line parameters won't be needed.
2. More dither methods.
3. A smoothing filter after the expansion.
4. Nonintegral expansion. i.e. expand by 1.2
5. Color matching with the actual ink colors YOU'RE using.
6. Gamma correction so it doesn't print dark.
7. Faster. (I hope)
8. Support for more printers.
9. More file formats. (24 bit TIFF or Targa)